package org.example.springbook.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageResult<T> {
    // 记录
    private List<T> records;
    // 总记录数
    private Integer count;

    private PageRequest pageRequest;

}
